=670) {$w_rate=670/$height; $height=670; $width=floor($width*$w_rate);} } //ÇöÀçÀÇ ³ªÀÌ¿Í ´Þ¸®±â ½ÃÀ۳⵵¸¦ ±¸ÇÑ´Ù. $current_old=date(Y)-$row[sub1]+1; $carrier_year=date(Y)-$row[sub2]+1; //Å«À̹ÌÁö º¸±â if($row[file2]){ $img_link = " \"Å«À̹ÌÁöº¸±â\"\n"; } else { $img_link = " \"$row[title]\"\n"; } //À̹ÌÁö¸¦ Ãâ·ÂÇϱâÀ§ÇÑ Á¶°Ç°ú ÇÔ¼ö, °¡·Î·Î ÃÖ´ë 5°³, ÃÖ¼Ò 1±îÁö Çã¿ë if($img_nums<=0) $img_nums=1; //°¡·Î·Î ÃÖ¼Ò 1°³ÀÌ»óÀ» Çã¿ëÇϱâÀ§ÇØ $td_size=floor(100/$img_nums); //ÇÑ ºí·°ÀÇ Å©±â¸¦ ³»¼­ td¿¡ ³ÐÀ̸¦ Á¤ÇϱâÀ§ÇØ if($line%$img_nums==0) echo "\n"; echo "
\n"; //°øÁö±ÛÀÌ ¾Æ´Ñ ±Û¾´ÀÌ¿¡ ·¹À̾ °É¾îÁØ´Ù. $noo=$no+2; if($writer_no==a) { if($row[main_no]<0) echo "$name"; else echo "$name"; } //³»¿ëº¸±â¸¦ ¸µÅ© if($row[read_only]==a) $title_link = "$title$count_opp"; else $title_link="$title$count_opp"; echo "  $title_link \n"; if($row[read_only]==a) echo "´Þ¸®±âÀÏÁöº¸±â[ºñ°ø°³]"; else echo "´Þ¸®±âÀÏÁöº¸±â[°ø°³]"; echo "
\n"; if($row[sub4]=="W") $sex="(¿©)"; else $sex="(³²)"; //runningÄÚµå·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Â´Ù 5km, 10km, half, fullÄÚ½º ÃÖ°í±â·Ï »Ì¾Æ³»±â $sql= "select * from $board where code = 'running' and add_no=0 and main_no>0 and id='$row[id]' order by sub1 desc, sub2 desc, sub3 desc, main_no desc, dep_no desc"; $result = mysql_query($sql); $five_num=0; $ten_num=0; $half_num=0; $full_num=0; $total_num=0; $ultra_distance=0; $gita_distance=0;$ultra_num=0;$gita_num=0; while($rowr = mysql_fetch_array($result)) { if($rowr[reply_sel]==n and $rowr[read_only]==g) {$five_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $five_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==b) {$ten_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $ten_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==c) {$half_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $half_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==d) {$full_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $full_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==e) {$ultra_distance = $ultra_distance+$rowr[link1]; $ultra_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==f) {$gita_distance = $gita_distance+$rowr[link1]; $gita_num++;} $total_distance = $total_distance+$rowr[link1]; $total_num++; } if(!$five_best) $five_best="±â·Ï¾øÀ½"; if(!$ten_best) $ten_best="±â·Ï¾øÀ½"; if(!$half_best) $half_best="±â·Ï¾øÀ½"; if(!$full_best) $full_best="±â·Ï¾øÀ½"; if(!$total_distance) $total_distance="0 km"; else $total_distance="".number_format($total_distance,0)." km"; $ultra_distance="".number_format($ultra_distance,0); $gita_distance="".number_format($gita_distance,0); echo "
\n"; if(strlen($row[file2])>0) echo $img_link; else echo "\n"; echo "
(Á¾ ¸ñ) 5km ($five_num"."ȸ) 10km ($ten_num"."ȸ) Half ($half_num"."ȸ) Full ($full_num"."ȸ)
(ÃÖ°í±â·Ï) $five_best $ten_best $half_best $full_best
³ª ÀÌ ´Þ¸²°æ·Â ¿ïÆ®¶ó ($ultra_num"."ȸ) ±â Ÿ ($gita_num"."ȸ) ÃÑ´Þ¸°°Å¸®
$current_old ¼¼ $sex $carrier_year ³âÂ÷ $ultra_distance km $gita_distance km $total_distance
\n"; echo "
\n"; } // ========================================================ÇÔ¼ö µî·Ï ºÎ //¾Æ·¡ DB·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í Á¤¿­ÇÏ´Â ¹æ½ÄÀ» ¼±Åà //""¾È¿¡ Á¤¿­À» ¿øÇÏ´Â º¯¼ö¸¦ ¾²¸é µÈ´Ù. ¿øÇÏÁö ¾ÊÀ¸¸é ""¸¸ ¾¸. (ÁÖÀÇ)º¯¼öµÚ ½°Ç¥(,)Àº ²À ¾µ °Í. //¿ªÀ¸·Î Á¤¿­À» ¿øÇϸé "º¯¼ö desc," ÀÌ·± ½ÄÀ¸·Î ÇÒ °Í. $db_array="sub2,"; //db·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í¼­ °¡°øÃ³¸® include("../../inc_file/list/sql_1.php"); //±Û ³»¿ë º¸±â Æû°ú ÆäÀÌÁö À̵¿ Æû include("../../inc_file/list/form.php"); //°Ô½ÃÆÇ Á¦¸ñ°ú Ä«¿îÅ͸¦ ´ã°í ÀÖÀ½--htmlÀ̹ǷΠº»ÀÎÀÇ ±¸¹Ì¿¡ ¸Â°Ô ¼öÁ¤ °¡´É include("../../inc_file/list/titlecount.php"); ?> CELLSPACING=0 CELLPADDING=>
cellpadding=2 border=0 width=100% class=outline>

>